package com.hair.logy.core.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
public class ResultVo<T> {

  private   Integer  code;

  private   T  data;

  private  String  msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
    public  ResultVo(){}
    public  ResultVo(Integer code , String  msg, T  data ){
    this.code=code;
    this.data=data;
    this.msg=msg;
  }


}
